package com.zhuang.chapter08.work02;

public class Postgraduate extends Student {

	public Postgraduate(String name, String course, int score) {
		super(name, course, score);
		if (score > 90 && score <= 100) {
			System.out.println("优秀");
		} else if (score > 80 && score <= 90) {
			System.out.println("良好");
		} else if (score > 70 && score <= 80) {
			System.out.println("一般");
		} else if (score > 60 && score <= 70) {
			System.out.println("及格");
		}
	}

}
